package com.example.quanxian2.demo1.dao;

import com.example.quanxian2.demo1.VO.UserFilterVO;
import com.example.quanxian2.demo1.domain.User;
import com.example.quanxian2.demo1.domain.UserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;


public interface UserMapper {

    List<UserFilterVO> selectUserResource(String resourceUrl);

    long countByExample(UserExample example);

    int deleteByExample(UserExample example);

    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    int insertSelective(User record);

    List<User> selectByExample(UserExample example);

    User selectByPrimaryKey(Integer userId);

    int updateByExampleSelective(@Param("record") User record, @Param("example") UserExample example);

    int updateByExample(@Param("record") User record, @Param("example") UserExample example);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}